package com.migration.model.olddb;

import jakarta.persistence.*;
import lombok.Data;
import java.io.Serializable;

/**
 * 风险评估矩阵表 实体类
 * 表名：ra_evaluation_matrix
 * 自动生成的实体类
 */
@Data
@Entity
@Table(name = "ra_evaluation_matrix")
public class RaEvaluationMatrix implements Serializable {

    private static final long serialVersionUID = 1L;
    
    /**
     * 主键
     * 主键
     */
    @Id
    @Column(name = "id", nullable = false)
    private Long id;
    
    /**
     * 严重性主键
     */
    @Column(name = "severity_grade_id")
    private Long severityGradeId;
    
    /**
     * 可能性主键
     */
    @Column(name = "possible_grade_id")
    private Long possibleGradeId;
    
    /**
     * 风险等级主键
     */
    @Column(name = "risk_grade_id")
    private Long riskGradeId;
    
    /**
     * 风险等级
     */
    @Column(name = "risk_level", length = 32)
    private String riskLevel;
    
    /**
     * 风险等级颜色
     */
    @Column(name = "level_color", length = 16)
    private String levelColor;
    
    @Override
    public String toString() {
        return "RaEvaluationMatrix{" +
            "id=" + id +
            ", severityGradeId=" + severityGradeId +
            ", possibleGradeId=" + possibleGradeId +
            ", riskGradeId=" + riskGradeId +
            ", riskLevel=" + riskLevel +
            ", levelColor=" + levelColor +
        '}';
    }
} 